package com.atguigu.admin.mapper;

import com.atguigu.admin.bean.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * @author Chen Yaqi
 * @version 1.0
 */
@Mapper
@Component
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where username=#{username}")
    User selectUserByUsername(String Username);
}
